<!DOCTYPE html>
<HTML>
    <HEAD>
        <TITLE> ZTREE DEMO </TITLE>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="resources/css/zTreeStyle/demo.css" type="text/css">
        <link rel="stylesheet" href="resources/css/zTreeStyle/zTreeStyle.css" type="text/css">
        <script  src="resources/javaScript/ztree/jquery-1.4.4.min.js"></script>
        <script  src="resources/javaScript/ztree/jquery.ztree.core.js"></script>
        <script>
            var setting = {
                data: {
                    simpleData:{
                        enable: true
                    }
                }
            };
            var nodes = [{id:327,pId:121,name:"17软件1班"},{id:328,pId:121,name:"17软件2班"},{id:427,pId:111,name:"16智11"},{id:428,pId:111,name:"16智12"},{id:429,pId:111,name:"16智71"},{id:430,pId:111,name:"16智72"},{id:431,pId:1,name:"二（4）班"},{id:432,pId:121,name:"17计科"},{id:631,pId:112,name:"20智72"},{id:632,pId:112,name:"20智71"},{id:633,pId:112,name:"20智32"},{id:634,pId:112,name:"20智31"},{id:731,pId:112,name:"职教1班"},{id:732,pId:1,name:"班级1"},{id:733,pId:1,name:"班级2"},{id:120,pId:0,name:"河北省"},{id:121,pId:0,name:"科文学院"},{id:123,pId:121,name:"16软件1"},{id:124,pId:121,name:"16软件2"},{id:125,pId:112,name:"15智71"},{id:126,pId:112,name:"15智72"},{id:127,pId:112,name:"15智73"},{id:225,pId:109,name:"徐州市高级中学1班"},{id:226,pId:109,name:"徐州市高级中学2班"},{id:1,pId:109,name:"江苏师范大学附属中学"},{id:2,pId:111,name:"17级2班"},{id:103,pId:0,name:"山东省"},{id:108,pId:0,name:"江苏省"},{id:109,pId:108,name:"徐州市"},{id:111,pId:108,name:"江苏师范大学"},{id:112,pId:111,name:"计算机学院"},{id:114,pId:0,name:"河南省"},{id:115,pId:0,name:"北京"},{id:116,pId:0,name:"天津"},{id:117,pId:0,name:"上海"},{id:118,pId:0,name:"重庆"}];;
            $(document).ready(function () {
                $.fn.zTree.init($("#treeDemo"), setting, nodes);
            });
        </SCRIPT>
    </HEAD>

    <BODY>
        <div class="content_wrap">
            <div class="zTreeDemoBackground">
                <ul id="treeDemo" class="ztree"></ul>
            </div>
        </div>
    </BODY>
</HTML>